package Data_Structure.DataImplement;

/**
 * Meal Method.
 *
 * @author Yibai Jiang
 * @author XiaorunWang
 * @since 30 March 2022
 * @version 1.0
 */
public interface MealAndPrice {
    /**
     * The type of meals.
     */
    enum Meals{
        NoMeal,
        ComboA,
        ComboB,
        ComboC,
        ComboD
    }
    int noMealPrice = 0;
    int comboAPrice = 10;
    int comboBPrice = 15;
    int comboCPrice = 20;
    int comboDPrice = 30;

    /**
     * Create a meal, the price, and the number of the meal .
     * @param meal The meal
     * @param mealPrice The price of the meal
     * @param num The number of the meal
     */
    void addMealAndPrice(MealAndPrice.Meals meal, int mealPrice, int num);

}
